<!DOCTYPE html>
<html>
    <head>
        <title>用户管理-重置密码</title>
 		<#include "fsoft-common.ftl" />
    </head>
    <body>
    	<form class="layui-form layui-form-pane" action="" method="post" lay-filter="resetPwdForm">
			<div class="layui-fluid">
				<div class="layui-row">
						<#-- 隐藏域： IDS,支持批量 -->
						<input type="hidden" id="id" name="id" value="${ids}">
						<#-- 如果修改的是当前登录用户的代码-->
						<#if ids==currentUser.id >
						<div class="layui-form-item">
							<label for="L_pass" class="layui-form-label"><span class="x-red">*</span>原密码</label>
							<div class="layui-input-inline">
								<input type="password" id="loginPwdSrc" name="loginPwdSrc" autocomplete="off" lay-verify="required|loginPwdSrc" class="layui-input">
							</div>
						</div>
						</#if>
						<div class="layui-form-item">
							<label for="L_pass" class="layui-form-label"><span class="x-red">*</span>新密码</label>
							<div class="layui-input-inline">
								<input type="password" id="loginPwd" name="loginPwd" autocomplete="off" lay-verify="required" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label for="L_pass" class="layui-form-label"><span class="x-red">*</span>确认密码</label>
							<div class="layui-input-inline">
								<input type="password" id="loginPwdConfirm" name="loginPwdConfirm" lay-verify="required|loginPwdConfirm" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-col-md4 layui-col-md-offset4">
							<button  class="layui-btn layui-btn-normal" lay-filter="save" lay-submit="">
								<i class="fa fa-save" aria-hidden="true" ></i> 保存
							</button>
						</div>
				</div>
			</div>
  		</form>
	</body>
    <script type="text/javascript">
	    layui.config({
	    	base:'${request.contextPath}'+'/plugins/layui/extend/',
	    	contentPath: '${request.contextPath}'
	    });
	</script>
	<#-- 加载Base64加密算法  -->
    <script type="text/javascript" src="${request.contextPath}/static/js/Base64.js?v=201911"></script>
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/user/sysuser-resetpwd.js?v=201910"></script>
</html>
